export default function ProcessActionPromiseFactory(Action){
  return new Promise((resolve,reject)=>{
      Action(resolve,reject);
  });
}